package com.mercury.dao;

import com.mercury.entity.Pcclassroominfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IPcclassroominfoDao {

    List<Pcclassroominfo> SearchAvailablePcclassroominfos(
            @Param("SchoolId") String SchoolId,
            @Param("ClassID") String ClassID,
            @Param("Time") String Time,
            @Param("TimeCate") String TimeCate,
            @Param("AvailableVolume") Integer AvailableVolume
    );

    List<Pcclassroominfo> searchTimeCate(@Param("SchoolId") String SchoolId, @Param("ClassID") String ClassID);

    List<Pcclassroominfo> searchTime(@Param("SchoolId") String SchoolId, @Param("ClassID") String ClassID, @Param("TimeCate") String TimeCate);

    Pcclassroominfo PreCheckBuy(@Param("Guid") String guid);

    Pcclassroominfo GetBillInfo(@Param("Guid") String guid);
}
